package string;

/**
 * String trim()
 * 去除当前字符串两边的空白字符
 */
public class TrimDemo {
    public static void main(String[] args) {
        String line="   abc        ";
        System.out.println(line);
        line=line.trim();
        System.out.println(line);

    }
}
